package com.kazu.index.service.impl;

import com.kazu.index.entity.dao.IndexIntroduction;
import com.kazu.index.mapper.IndexIntroductionMapper;
import com.kazu.index.service.IndexIntroductionService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 首页个人简介 服务实现类
 * </p>
 *
 * @author kazu
 * @since 2023/02/19 09:41
 */
@Service
public class IndexIntroductionServiceImpl extends ServiceImpl<IndexIntroductionMapper, IndexIntroduction> implements IndexIntroductionService {
	
	@Autowired
	private IndexIntroductionMapper indexIntroductionMapper;
	
	@Override
	public List<IndexIntroduction> getAll() {
		return indexIntroductionMapper.selectList(null);
	}
}
